var vm = new Vue({
    el:"#choice",
    data:{
        saveindex:0, 
        searchArr:[
            "综合排序","猜你喜欢","销量最高","筛选",
            
         ],

         Arr:[
            "年货节热卖","津贴联盟","满减优惠","品质联盟"
         ]
    
    },
    methods: {
        Click(index){
            // 保存点击的按钮下标
            this.saveindex = index;
            console.log(this.saveindex)
            
        }
    },
})



var  vm = new Vue({
    el:"#home",
    data:{
        Arr:[
            {image:"pic.png",value:"小火锅",month:"100",time:"44",connent:"太好吃了"},
            {image:"pic.png",value:"小火锅",month:"100",time:"44",connent:"太好吃了"},
          
        ]
    }
})


var vm = new Vue({
    el:"#app",
    data: {
        // 保存点击的下标
        saveindex:0,     

       list:[
           { pic:"",name:"首页"},
           { pic:"",name:"首页"},
           { pic:"",name:"首页"},
        
       ]
    },
    methods: {
        Click(index){
            // 保存点击的按钮下标
            this.saveindex = index;
            console.log(this.saveindex)
        }
    },



})